﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddQuestioninfo_mingci.aspx.cs"
    ValidateRequest="false" Inherits="sysadmin_QuestionManager_AddQuestioninfo_mingci" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>添加试题</title>
    <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
    <link href="../../js/Showdialog.js" type="text/javascript" />
    <script type="text/javascript">
            function AddComment()
            {
                //window.ffMain.LeftupFrame.MediaPlayer.Controls.Pause();
//                var cu = window.ffMain.LeftupFrame.MediaPlayer.Controls.currentPosition;
                var ul = "AddQuestionResourceMini.aspx";
                
                this.showModalDialog(ul,window,"dialogWidth: 450px; dialogHeight: 230px;status: no; help: no");
            }
    </script>

</head>
<body class="bodymain">
    <form id="form1" runat="server">
        <table border="0" cellpadding="0" cellspacing="0" class="titbg_right" width="100%">
            <tr>
                <td class="titbg_left">
                    <table border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td>
                                <asp:Label ID="lab_AddQuestionInfo_danx_QuestionType" runat="server" Text="试题类型"></asp:Label></td>
                            <th>
                                <asp:RadioButtonList ID="rdbtn_QuestionType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="rdbtn_QuestionType_SelectedIndexChanged"
                                    RepeatDirection="Horizontal">
                                </asp:RadioButtonList></th>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <br />
        <table border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right" width="100%">
            <tr>
                <td class="tree-titbg_left">
                    &nbsp;<asp:Label ID="lab_AddQuestionInfo_danx_AttributeTitle" runat="server" Text="试题属性信息"></asp:Label></td>
            </tr>
        </table>
        <table border="0" cellpadding="0" cellspacing="0" class="tableList2" width="100%">
            <tr>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_CourseName" runat="server" Text="课程名称"></asp:Label></th>
                <td>
                    <asp:DropDownList ID="ddlCourseList" runat="server" AppendDataBoundItems="True" Width="131px">
                        <asp:ListItem Selected="True" Value="-1">请选择课程</asp:ListItem>
                    </asp:DropDownList></td>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_QuestionState" runat="server" Text="试题状态"></asp:Label></th>
                <td>
                    <asp:DropDownList ID="ddlQuestionState" runat="server" Width="131px">
                        <asp:ListItem Value="1">禁用</asp:ListItem>
                        <asp:ListItem Selected="True" Value="2">启用</asp:ListItem>
                    </asp:DropDownList></td>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_QuestionQuestionDiffculty" runat="server"
                        Text="试题难度"></asp:Label></th>
                <td>
                    <asp:DropDownList ID="ddlDiffculty" runat="server">
                        <asp:ListItem>1</asp:ListItem>
                        <asp:ListItem>2</asp:ListItem>
                        <asp:ListItem>3</asp:ListItem>
                        <asp:ListItem>4</asp:ListItem>
                        <asp:ListItem>5</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_QuestionKen" runat="server" Text="知识点"></asp:Label></th>
                <td>
                    <asp:TextBox ID="txtKen" runat="server" Width="125px"></asp:TextBox></td>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_DefaultScore" runat="server" Text="试题默认分数"></asp:Label></th>
                <td colspan="3">
                    <asp:TextBox ID="txtDefaultScore" runat="server" Width="125px"></asp:TextBox></td>
            </tr>
        </table>
        <br />
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tree-titbg_right">
            <tr>
                <td class="tree-titbg_left">
                    <asp:Label ID="lab_AddQuestionInfo_danx_ContentTitle" runat="server" Text="试题内容信息"></asp:Label></td>
            </tr>
        </table>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableList3">
            <tr>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_QuestionContent" runat="server" Text="试题内容"></asp:Label></th>
                <td>
                    <table border="0" cellpadding="0" cellspacing="0" class="pad5px_up_don">
                        <tr>
                            <td>
                                <%--<FTB:FreeTextBox ID="txtQuestionContent" runat="server" Language="" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell">
                                </FTB:FreeTextBox>--%>
                                <FCKeditorV2:FCKeditor id="txtQuestionContent" runat ="server" Width="600px" Height="400px"></FCKeditorV2:FCKeditor>
                            </td>
                            <%--<td align="left" valign="bottom">
                               &nbsp;<input id="Button1" type="button" value="<%=GetLanageValueByKey("btn_AddQuestionInfo_AddMediaFile", PowerCreator.LMS.Language.LanagetItemType.Page) %>" onclick="AddComment()" class="inputBotton2" />
                            </td>--%>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <th>
                    <asp:Label ID="lab_AddQuestionInfo_danx_QuestionOption" runat="server" Text="试题解析"></asp:Label></th>
                <td class="pad5px_up_don">
                    <asp:TextBox ID="txtQuestionParse" runat="server" TextMode="MultiLine" Width="603px"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tree-bottom-bg" colspan="2">
                    <asp:Button ID="btnSave" runat="server" CssClass="inputBotton2" OnClick="btnSave_Click"
                        Text=" 保 存 " />
                    <asp:Button ID="btnBack" runat="server" CssClass="inputBotton2" Text=" 返 回 " OnClick="btnBack_Click" /></td>
            </tr>
        </table>
        <br />
    </form>
</body>
</html>
